<!doctype html>
<html>
<!DOCTYPE html>
<html>
<head>
<title>{$app.title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="">
<meta name="author" content="Javier Jiménez Villar (@soyjavi)">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="cleartype" content="on">

<link rel="stylesheet" href="{$path}/css/lungo.css">
<link rel="stylesheet" href="{$path}/css/lungo.icon.css">
<link rel="stylesheet" href="{$path}/css/lungo.theme.css">
<include file="app1/_style" />
</head>
<body ms-controller="duApp">
<aside id="aside">
    <header ></header>
     <article class="list scroll active">
        <ul>
            <a ms-repeat="asides" ms-click="clickNav(el)" ms-href="#/Home/{{el.module}}/index/id/{{el.id}}">
            <li >
                <strong>{{el.name}}</strong>
            </li>
            </a>
        </ul>
    </article>
</aside>

<section id="Index-section" data-transition="slide" data-aside="aside" >
    <header data-title="{$app.title}" >
        <nav>
            <a ms-visible="isasides" href="#" data-view-aside="aside" data-icon="menu"></a>
            <a data-view-article="back" data-icon="left" ></a>
        </nav>

        <nav class="on-right">
            <a ms-visible="ismenus" href="#" data-view-menu="menus" data-icon="grid"></a>
        </nav>
    </header>

    <nav id="menus" data-control="menu">
        <a ms-visible="ismenus" ms-repeat="menus" ms-click="clickNav(el)" ms-href="#/Widget/{{el.module}}">{{el.name}}</a>
    </nav>

    <article id="article-index" class="list indenteds scroll " >
    <ul>
        <li ms-repeat="indexNavs" class="accept">
            <a ms-click="clickNav(el)"  ms-href="#/Home/{{el.module}}/index/id/{{el.id}}" >
                <strong>{{el.name}}</strong>
            </a>
        </li>
    </ul>
    </article>
    <footer ms-visible="isnavs">
        <nav  class="icons">
            <a ms-click="clickNav(el)" ms-repeat="navs"  ms-href="#/Home/{{el.module}}/index/id/{{el.id}}" >{{el.name}}</a>
        </nav>
    </footer>
</section>

<section data-pull ms-attr-id="{{sectionId}}" data-transition="slide" data-aside="aside" >
    <header data-back="chevron-left"  data-title="{$app.title}" >
        <nav>
            <a ms-visible="isasides" href="#" data-view-aside="aside" data-icon="menu"></a>
            <a data-view-article="back" data-icon="left" ></a>
        </nav>

        <nav class="on-right">
            <a ms-visible="ismenus" href="#" data-view-menu="menus" data-icon="grid"></a>
        </nav>
    </header>

    <nav id="menus" data-control="menu">
        <a ms-visible="ismenus" ms-repeat="menus" ms-click="clickNav(el)" ms-href="#/{{el.module}}/{{el.id}}">{{el.name}}</a>
    </nav>

    <article ms-attr="{{pull}}" ms-include-src="{{sectionTpl}}" id="article-index" class="active list indenteds scroll " >
    
    </article>
    <footer ms-visible="isnavs">
        <nav  class="icons">
            <a ms-click="clickNav(el)" ms-repeat="navs"  ms-href="#/{{el.module}}/{{el.id}}" >{{el.name}}</a>
        </nav>
    </footer>
</section>



<script src="{$path}js/quo.js"></script>
<script src="{$path}js/lungo.js"></script>
<script src="{$path}js/avalon.mobile.min.js"></script>
<script type="text/javascript">
var api = "http://{$Think.server.HTTP_HOST}__ROOT__/rest.php";
var restServer = "http://{$Think.server.HTTP_HOST}__ROOT__/rest.php";
var toke = "XXX",appid = "{$appid}";
var tplPath = "{$path}tpl/";
var basepath = "/weiduniang_app";
Lungo.init({
    name: '{$app.title}',
    history: false,
});
</script>
<script src="{$path}/js/easyapp.js"></script>
</body>
</html>

